"""A module to wrap HTML formatting utilities."""

__author__ = "Gabriel Taubman (gtaubman@mac.com)"

import cherrypy
from constants import USERNAME_SESSION_KEY

def Username():
  """Returns the user's username, or None if nobody is logged in."""
  return cherrypy.session.get(USERNAME_SESSION_KEY, None)
